<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">商品名称</label>
                <div class="layui-input-block">
                    <select name="goods_id" lay-filter="goods"  lay-verify="required" data-select="{:url('store.seckill/goods')}" data-fields="id,goods_name" data-value="{$row.id|default=''}">
                    </select>
                </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀配置名称</label>
            <div class="layui-input-block">
                <select name="config_id" lay-filter="configs"  lay-verify="required" data-select="{:url('store.seckill/seckillConfigs')}" data-fields="id,title" data-value="{$row.id|default=''}">
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀时间段</label>
            <div class="layui-input-block">
                <input type="datetime-local" id="start_time" name="start_time" class="layui-input"  placeholder="请输入秒杀开始时间" value="">
                <input type="datetime-local" id="stop_time" name="stop_time" class="layui-input"  placeholder="请输入秒杀结束时间" value="">
            </div>
        </div>
        <input type="hidden" name="period_time" id="period_time">
        <div class="layui-form-item">
            <label class="layui-form-label required">组图</label>
            <div class="layui-input-block layuimini-upload">
                <input name="images" multiple class="layui-input layui-col-xs6"   placeholder="请上传组图" value="">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="images" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_images" data-upload-select="images" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动标题</label>
            <div class="layui-input-block">
                <input type="text" name="title" class="layui-input"  placeholder="请输入活动标题" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">活动简介</label>
            <div class="layui-input-block">
                <textarea name="content" rows="20" class="layui-textarea editor" 活动简介 placeholder="请输入活动简介"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">原价</label>
            <div class="layui-input-block">
                <input type="text" id="ot_price" name="ot_price" class="layui-input"  placeholder="请输入原价" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀价格</label>
            <div class="layui-input-block">
                <input type="text" name="price" class="layui-input"  placeholder="请输入秒杀价格" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">邮费</label>
            <div class="layui-input-block">
                <input type="text" name="postage" class="layui-input"  placeholder="请输入邮费" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限量</label>
            <div class="layui-input-block">
                <input type="text" name="limit" class="layui-input"  placeholder="请输入限量" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限量剩余</label>
            <div class="layui-input-block">
                <input type="text" id="limit_sock" name="limit_sock" class="layui-input"  placeholder="请输入限量剩余" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">限购</label>
            <div class="layui-input-block">
                <input type="text" id="quota" name="quota" class="layui-input"  placeholder="请输入限购" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">返多少积分</label>
            <div class="layui-input-block">
                <input type="text" name="give_intergal" class="layui-input"  placeholder="请输入返多少积分" value="1">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">秒杀状态</label>
            <div class="layui-input-block">
                <input type="checkbox" checked="" value="1" name="seckill_status" lay-skin="switch" lay-filter="switchTest" lay-text="显示|隐藏">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="checkbox" checked="" value="1" name="status" lay-skin="switch" lay-filter="switchTest" lay-text="显示|隐藏">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">排序</label>
            <div class="layui-input-block">
                <input type="text" name="sort" class="layui-input"  placeholder="请输入排序" value="">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">是否包邮</label>
            <div class="layui-input-block">
                <input type="checkbox" value="1" checked="" name="is_postage" lay-skin="switch" lay-filter="switchTest" lay-text="是|否">
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>

